package com.github.jspxnet.worktask.table;

import com.github.jspxnet.sober.annotation.Column;
import com.github.jspxnet.sober.annotation.Id;
import com.github.jspxnet.sober.annotation.Table;
import com.github.jspxnet.utils.StringUtil;
import com.github.jspxnet.worktask.model.enums.TaskTipEnumType;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by jspx.net
 * author: chenYuan
 * date: 2021/9/28 0:46
 * description: jspx-framework
 **/
@Table(name = "jwf_task_tip_log", caption = "提醒次数记录")
@Data
public class TaskTipLog implements Serializable {
    @Id
    @Column(caption = "ID", notNull = true)
    private long id = 0;

    @Column(caption = "用户流程ID", length = 32, notNull = true)
    private String userFlowId = StringUtil.empty;

    @Column(caption = "提醒方式",option = "0:不提醒")
    private int taskTipType = TaskTipEnumType.NONE.getValue();

    @Column(caption = "提醒类容", length = 4000, notNull = true)
    private String content = StringUtil.empty;

    @Column(caption = "创建时间", notNull = true)
    protected Date createDate = new Date();

}
